import request from '@/utils/request.js'

// 登录请求api
export const postLoginAPI = function(username, password) {
  return request.post('/login', {
    username,
    password
  })
}

export default {
  postLoginAPI
}
